<html>

<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>订单支付&nbsp;订单号：</title>
</head>

<body>
    <p style="text-align: center;">支付订单</p>
    <img src="" alt="" id="logo">
    <form action="http://119.45.12.243:8080/payResult" method="get">
        <input type="hidden" name="token" id="hidden">
        <input type="hidden" name="method" id="method">
        <button type="submit">确认支付</button>
    </form>
    <script lang="javascript">
        var token = "%s"
        document.title += token
        document.getElementById("hidden").setAttribute("value", token)
        var paymethod = "%s"
        document.getElementById("method").setAttribute("value", paymethod)
        if (paymethod === "WX") {
            document.getElementById("logo").setAttribute("src", "https://td.cdn-go.cn/enterprise_payment/v0.1.2/logo.svg")
            document.getElementById("logo").setAttribute("alt", "微信支付")
        }
        if (paymethod === "ZFB") {
            document.getElementById("logo").setAttribute("src", "https://file.makeyourchoice.cn/work/alipay/images/alipay.png")
            document.getElementById("logo").setAttribute("alt", "支付宝")
        }
    </script>
</body>

</html>